<?php
if (isset($_GET['share_id'])) //通过get方式则获取整个home页面
{
    require("{$CfgPara->root}/controller/home.c.php");
} elseif (isset($_POST['share_id'])) {
    if ($InputData['share_type'] == 'work') {
        $InputData['work_id'] = $InputData['share_id'];
        require("{$CfgPara->root}/controller/work_show.c.php");
    } else if ($InputData['share_type'] == 'shoe') {
        $InputData['shoe_show_id'] = $InputData['share_id'];
        require("{$CfgPara->root}/controller/shoe_show.c.php");
    } else if ($InputData['share_type'] == 'user') {
        $InputData["user_id"] = $InputData['share_id'];
        require("{$CfgPara->root}/controller/user_show.c.php");
    } else {
        require("{$CfgPara->root}/view/warning_nocontent.app.v.php");
        goto page_end;
    }
    if ($isTablet === false)
        require("{$CfgPara->root}/view/menu_r_view_share.app.v.php");
}

page_end:
?>